package com.wanxi.worker;

public class WorkerTest {
    public static void main(String[] args) {
        Worker worker1 = new Coder(20130050, "陈明", 15000);
        Worker worker2 = new Manger(2010055, "王海云", 18200, 5000);
        System.out.println(worker1);
        worker1.work();
        System.out.println(worker2);
        worker2.work();
    }
}
